package org.zju.demo.shoppingdemo.model.Request;

import com.google.gson.annotations.SerializedName;

import org.zju.demo.shoppingdemo.utils.Constant;

/**
 * Created by ZJDX on 2015/9/9.
 */
public class RegisterModel extends BaseModel{
    @SerializedName("username")
    private String username;
    @SerializedName("password")
    private String password;

    public RegisterModel() {
        this.commandId = Constant.COMMAND_REGISTER;
    }

    public RegisterModel(String username, String password) {
        this.username = username;
        this.password = password;
        this.commandId = Constant.COMMAND_REGISTER;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
